package com.qingfeng.base.controller;

import com.qingfeng.base.dao.TTraceLogMapper;
import com.qingfeng.base.model.TTraceLog;
import com.qingfeng.base.mpUtil.FBaseMapper;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: daiyueyuan
 * @date: 2019/3/7 16:27
 * @description: 日志
 */
@Api(tags = "日志管理")
@RestController
@RequestMapping("log")
@CrossOrigin
public class TraceLogController extends BaseController<TTraceLog>{

    @Autowired
    private TTraceLogMapper logMapper;

    @Override
    public FBaseMapper<TTraceLog> getMapper() {
        return logMapper;
    }

}
